<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./jquery.js"></script>
</head>

<body>
    <input type="button" value="点击" id="btn">
    <input type="checkbox" id="ck">酷酷酷

    <script>
        $('#btn').click(function() {
            //prop 支撑，支持者，支柱，道具
            $('#ck').prop('checked') ? $('#ck').prop('checked', false) : $('#ck').prop('checked', true)
        })
    </script>
</body>

</html>